![]() |
![]() |
![]() |
Set the X, Y and Z of the direction to the sun - this disables automatic sun position due to time-of-day, re-enable this using DC SET AUTO SUN DIRECTION.
DC SET SUN DIRECTION X, Y, Z
float: X, Y, Z
The co-ordinate values. The direction will be post-normalized, so any values can be used as long as at least one of x, y, or z is non-zero.
This command does not return a value.
rem Add the sun load image "Sun.png",1 dc set sun image 1,0.2 dc set sun direction 0.0,0.2,1.0
DC SET AUTO SUN DIRECTION
DC SET SUN IMAGE.htm
DarkCLOUDS Commands Menu
Index